package dancetwotiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceActivitiesMiniGameGift 摇骰子礼物
type DanceActivitiesMiniGameGift struct {
	Id         int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	ActivityId int64          `json:"activityId" gorm:"column:activity_id;type:bigint;default:0;not null;comment:活动id"` // 活动id
	GiftNum    int64          `json:"giftNum" gorm:"column:gift_num;type:bigint;default:0;not null;comment:礼物数量"`
	GiftId     string         `json:"giftId" gorm:"column:gift_id;type:varchar(256);not null;default:'';comment: 礼物id"` //
	CreatedAt  time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt  time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt  gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
